//
//  BaseNavController.m
//  水云天
//
//  Created by ZWS on 16/4/5.
//  Copyright © 2016年 Sinfotek. All rights reserved.
//

#import "GXBaseNavController.h"

@interface GXBaseNavController ()

@end

@implementation GXBaseNavController



- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    //导航栏背景色
 

    
}



//-(BOOL)shouldAutorotate{
//    return self.topViewController.shouldAutorotate;
//}
//
//-(UIInterfaceOrientationMask)supportedInterfaceOrientations{
//    return [self.topViewController supportedInterfaceOrientations];
//}
//
//-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
//    return [self.topViewController preferredInterfaceOrientationForPresentation];
//}


- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
{
    if (self.childViewControllers.count > 0) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:animated];
}


@end
